home *** CD-ROM | disk | FTP | other *** search
/ Ahoy 1986 November / Ahoy_Magazine_86-11_1986_Double_L.d64 / print dir.txt < prev    next >
Text File  |  2022-10-26  |  1KB  |  46 lines

  1. PRINT'DIRECTORY 0.14
  2. by Phyrne Bacon
  3.  
  4. The new PRINT'DIRECTORY prints the
  5. disk directory with or without the
  6. scratched files and the beginning
  7. track and sectors. The blocks free
  8. are read from the BAM; so that the
  9. "blocks free" number matches that
  10. given by cat. Scratched files are
  11. indicated by --- or 0 in the
  12. PRG-column.
  13.  
  14. If the sum of the file lengths and
  15. the blocks free is not 664, the
  16. message pass"v" may free xx blocks is
  17. printed on the screen. If a file type
  18. number is non-standard, it is printed
  19. in parentheses in the PRG-column.
  20.  
  21. A track/sector listing of
  22. PRINT'DIRECTORY can be used with
  23. DISK'EDITOR to unscratch files which
  24. haven't been overwritten: the article
  25. Disk Directories I: Unscratching
  26. Files. A DIRECTORY'PROBE listing
  27. indicates which files are the wrong
  28. length (and have been overwritten).
  29.  
  30. A track/sector listing gives a
  31. directory listing with the
  32. track/sector of each directory block
  33. listed followed by the eight
  34. directory entries in that block and
  35. the beginning track/sector of each
  36. entry.
  37.  
  38. A new machine language procedure is
  39. used in PRINT'DIRECTORY which reads a
  40. file thirty-two bytes at a time, and
  41. indicates the end-of-file by giving
  42. the number of bytes used in the final
  43. thirty-two bytes. Any type of file
  44. can be read by changing the open file
  45. 7 statement which is in COMAL.
  46.